package com.ruoyi.common.exception.wx;

/**
 * @author 翰林学士
 * @version 1.0
 * @email RenZetong@Outlook.com
 * Create by 2025-02-08 09:38:09
 * 微信API自定义异常
 */
public class WeChatApiException extends Exception {

    private final int errCode;

    public WeChatApiException(String errMsg, int errCode) {
        super(errMsg);
        this.errCode = errCode;
    }

    public int getErrCode() {
        return errCode;
    }
}
